<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <input type="button" value="测试点击事件" onclick="testClick()">
    <input type="button" value="测试双击事件" ondblclick="testDblclick()">


    <script>
        function testClick() {
            console.log("鼠标点击事件");
        }

        function testDblclick() {
            console.log("鼠标双击事件");
        }
    </script>
</body>
</html>